<%-- 
    Document   : _index_MainPage
    Created on : 5-mei-2012, 21:33:27
    Author     : Niels Leguit <niels.leguit at hva.nl>
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>

<html>
    <body>
        <div class="post">
            <c:choose>
                <c:when test ="${currentUser.lidId == null}">
                    <a href="Register"><img src="images/index/dryvesTeaser.gif" alt="Registreer" id="registerTeaser" /></a>
                </c:when>
                <c:otherwise>
                    <h2 class="title">Index informatie</h2>
                    <div class="story">
                        Beste ${currentUser.lidVnaam}, welkom terug!
                    </div>
                </c:otherwise> 
            </c:choose>
        </div>
    </body>
</html>

